#app {
  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: $sideBarWidth;
    position: relative;
  }

  .sidebar-container {
    transition: width 0.28s;
    width: $sideBarWidth !important;
    background-color: $menuBg;
    height: 100%;
    position: fixed;
    font-size: 14px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;

    .el-menu {
      border: none;
      height: 100%;
      width: 100% !important;
    }

    .scrollbar-wrapper {
      overflow-x: hidden !important;
    }

    .el-scrollbar {
      height: 100%;
    }

    &.has-logo {
      .el-scrollbar {
        height: calc(100% - 50px);
      }
    }

    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 16px;
      display: inline-block;
    }
  }

  .hideSidebar {
    .sidebar-container {
      width: 54px !important;

      .el-submenu__title {
        // padding: 0 !important;

        text-align: center;
        i {
          margin-left: 15px;
          margin-right: 15px;
        }
      }

      .el-tooltip {
        // padding: 0 !important;

        // text-align: center;
        i {
          margin-left: 15px;
          margin-right: 15px;
        }
      }

      .el-submenu__icon-arrow {
        display: none;
      }
    }

    .main-container {
      margin-left: 54px;
    }
        .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }
}
.nest-menu {
  .el-menu-item {
    display: flex;
    align-items: center;
    svg {
      margin-right: 10px;
    }
  }
}